import request from '@/utils/request.js';

export async function getMapsInfo(params) {
    return request('/maps/' + params, {
        method: 'GET',
    })
}

export async function getFibsemInfo(params) {
    return request('/fib-sem/' + params, {
        method: 'GET',
    })
}

//请求fibsem图片
export async function reqQemscanImg(params) {
    return request('/fib-sem/img/' + params, {
        method: 'POST',
    })
}


export async function reqMineImg(params) {
    return request('/maps/img/' + params, {
        method: 'POST'
    })
}

//展示对比结果
export async function displayIframe(params) {
    return request('/maps/contrast/' + params, {
        method: 'GET'
    })
}

//修复对比结果
export async function repairIframe(params) {
    return request('/maps/contrast1/' + params, {
        method: 'GET'
    })
}

//maps样品插件展示
export async function displayMap(params) {
    return request('/maps/display/' + params)
}